.TH OTS-PERF "1" "May 2021" "OpenType Sanitizer" "User Commands"
.SH NAME
ots-perf \- performance checker
.SH SYNOPSIS
.B ots-perf
\fI\,FONT_FILE\/\fR
.SH DESCRIPTION
.PP
ots-perf is a program which validates and transcodes a font file N times using
OTS, then prints the elapsed time:
.PP
.RS
.nf
for\ (N\ times)
\ \ ValidateAndTranscode(original_font);
Print(elapsed_time_in_us\ /\ N);
.fi
.RE
.SH EXAMPLES
.RS
.nf
$ ./ots-perf sample.ttf
903 [us] sample.ttf (139332 bytes, 154 [byte/us])
$ ./ots-perf sample-bold.otf
291 [us] sample-bold.otf (150652 bytes, 517 [byte/us])
.fi
.RE
.SH "REPORTING BUGS"
Report bugs to  <https://github.com/khaledhosny/ots/issues>
.SH "SEE ALSO"
.BR ots-idempotent (1),
.BR ots-sanitize (1),
.BR ots-side-by-side (1),
.BR ots-validator-checker (1)
